package com.g5kj.coupon.ssm.model;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

public class AdminEntity {
	
	private Integer id;
	private String name;
	private String password;
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date creat_time;
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date login_time;
	
	private int is_stop;
	
	public AdminEntity(){
		
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public Date getCreat_time() {
		return creat_time;
	}
	public void setCreat_time(Date creat_time) {
		this.creat_time = creat_time;
	}
	public Date getLogin_time() {
		return login_time;
	}
	public void setLogin_time(Date login_time) {
		this.login_time = login_time;
	}
	
	
	public int getIs_stop() {
		return is_stop;
	}
	public void setIs_stop(int is_stop) {
		this.is_stop = is_stop;
	}
	@Override
	public String toString() {
		return "AdminEntity [id=" + id + ", name=" + name + ", password="
				+ password + ", creat_time=" + creat_time + ", login_time="
				+ login_time + "]";
	}
	

}
